html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  color: #fff;
  background-image: url('backgroundgaa.gif');
  background-size: cover;
  scroll-behavior: smooth;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 0;
  top: 0;
  left: 0;
}


header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 2rem;
  height: 90px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  backdrop-filter: blur(6px);
}

.title {
  color: #5900fe;
}

.title-text {
  font-family: "Iceland", sans-serif;
  font-size: 25px;
}

.title-text {
  font-family: "Iceland", sans-serif;
  font-size: 25px;
}

.footer-text {
  font-family: "Iceland", sans-serif;
  font-size: 25px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo img {
  width: 90px;
  height: auto;
}

.logo-text {
  font-family: 'Ethnocentric Rg', sans-serif;
  font-size: 25px;
  color: #5900fe;
  letter-spacing: 2px;
  text-shadow: 0 0 10px #5900fe55;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding-right: 100px;
}

nav a {
  color: #5900fe;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s, text-shadow 0.3s;
}

nav a:hover {
  color: #fff;
  text-shadow: 0 0 8px #5900fe;
}


section {
  position: relative;
  z-index: 5;
  padding: 200px 2rem 30px;
  text-align: center;
  scroll-margin-top: 100px;
}


.content {
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 70px;
  border: #5900fe 5px solid;
  border-radius: 10px;
}

h1, h2 {
  color: #5900fe;
  font-family: 'Ethnocentric Rg', sans-serif;
  text-shadow: 0 0 10px #5900fe55;
  margin-bottom: 1rem;
}

p, li {
  font-size: 1.1rem;
  line-height: 1.6;
}

.section-image {
  max-width: 100%;
  width: 600px;
  height: auto;
  border-radius: 12px;
  margin-top: 20px;
  box-shadow: 0 0 15px rgba(41, 3, 102, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.section-image:hover {
  transform: scale(1.02);
  box-shadow: 0 0 25px rgba(41, 3, 102, 0.5);
}


.program-list {
  text-align: left;
  max-width: 700px;
  margin: 1.5rem auto;
  padding-left: 1rem;
}

.program-list li {
  margin-bottom: 0.7rem;
}


footer {
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  z-index: 10;
  position: relative;
  border-top: 1px solid #5900fe;
}

.top-barbuttons {
  font-family: 'Ethnocentric Rg', sans-serif;
  text-shadow: 0 0 10px #5900fe;
}


@media (max-width: 700px) {
  .top-barbuttons{
    display: none;
  }

  nav ul {
    flex-direction: column;
    gap: 0.8rem;
  }

  .content{
    max-width: 600px;
  }

  .section {
    padding: 110px 1rem 60px;
  }

  .program-list {
    text-align: center;
  }
}

.project-image {
    border-radius: 20px;
    background-color: #331174;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 70%;
    color: #5900fe;
    user-select: none;
    width: 401px;
    height: 240px;
    border: #5900fe 2px solid;
}

.project-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    opacity: 90%;
}

.figma-image {
    border-radius: 20px;
    background-color: #331174;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #5900fe;
    user-select: none;
    width: 401px;
    height: 240px;
    transition: opacity 0.3s ease;
    border: #5900fe 2px solid;
}

.figma-image:hover {
  opacity: 90%;
  transition: opacity 0.3s ease;
}

.tullangen-image {
    border-radius: 20px;
    background-color: #331174;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #5900fe;
    user-select: none;
    width: 401px;
    height: 240px;
    transition: opacity 0.3s ease;
    border: #5900fe 2px solid;
}

.tullangen-image:hover {
  opacity: 90%;
  transition: opacity 0.3s ease;
}

.ballfoot-image {
    border-radius: 20px;
    background-color: #331174;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #5900fe;
    user-select: none;
    width: 401px;
    height: 240px;
    transition: opacity 0.3s ease;
    border: #5900fe 2px solid;
}

.ballfoot-image:hover {
  opacity: 90%;
  transition: opacity 0.3s ease;
}

.wix-image {
    border-radius: 20px;
    background-color: #331174;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #5900fe;
    user-select: none;
    width: 401px;
    height: 240px;
    transition: opacity 0.3s ease;
    border: #5900fe 2px solid;
}

.wix-image:hover {
  opacity: 90%;
  transition: opacity 0.3s ease;
}


.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 190px;
    row-gap: 20px;
    max-width: 1600px;
    width: 100%;
    margin: 20px auto 0 auto;
    align-items: center;
    justify-items: center;
}

.project-image2 {
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 70%;
    color: #6c93a0;
    user-select: none;
    width: 401px;
    height: 240px;
}

.project-image2:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    opacity: 80%;
}

@media (max-width: 999px) {

  html, body {
  overflow-x: hidden;
}
body {
  position: relative
}

  body {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #182828;
}

  .grid {
    grid-template-columns: 1fr;
    column-gap: 100px;
    row-gap: 20px;
    max-width: 900px;
    width: 100%;
    size: 150px;
    margin: 20px auto 0 auto;
    align-items: center;
    justify-items: center;
  }



    .project-image, .wix-image, .ballfoot-image, .figma-image, .tullangen-image {
        width: 150px;
        height: 100px;
    }

    .project-image2 {
        width: 100%;
        height: auto;
    }

    

}
    


@media (max-width: 1300px) {
  .grid{
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
    row-gap: 20px;
  }
}